import type { TabItem } from '~/types/tabBar'

export default defineAppConfig({
  title: 'sj',
  theme: {
    primaryColor: '#ababab',
    // 添加间距主题变量
    spacing: {
      0: '0px',
      80: '20rem',
      96: '24rem'
    }
  },
  tabBar: {
    items: [
      {
        labelKey: 'tabBar.home',
        label: '首页',
        icon: 'i-heroicons-home',
        path: '/',
        meta: { requiresAuth: false }
      },
      {
        labelKey: 'tabBar.enum',
        label: '菜单',
        icon: 'i-heroicons-home',
        path: '/menu',
        meta: { requiresAuth: false }
      },
      {
        labelKey: 'tabBar.profile',
        label: '我的',
        icon: 'i-heroicons-user',
        path: '/profile',
        meta: { requiresAuth: true }
      }
    ] as TabItem[]
  }
})
